package com.stylefeng.guns.modular.pay.dao;

import com.stylefeng.guns.modular.pay.model.NotifyRecord;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

/**
 * <p>
 * 通知记录表 Mapper 接口
 * </p>
 *
 * @author stylefeng
 * @since 2018-08-24
 */
public interface NotifyRecordMapper extends BaseMapper<NotifyRecord> {

	List<NotifyRecord> list(@Param("page")Page<NotifyRecord> page, @Param("obj")NotifyRecord notifyRecord);
	
	@Select("select * from pay_notify_record where plat_trade_no=#{platOrderCode}")
	NotifyRecord findByPlatTradeNo(String platOrderCode);

}
